<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../comm-header.jsp" %>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application"/>
    <title>修改密码</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

	<link rel="shortcut icon" href="${contextPath}/favicon.ico" type="image/x-icon" />
    <link href="${contextPath}/resources/yhzx/css/bootstrap.css" rel="stylesheet">
    <link href="${contextPath}/resources/yhzx/css/login.css" rel="stylesheet">
    <link href="${contextPath}/resources/yhzx/css/entypo-icon.css" rel="stylesheet">
    
    <script src="${contextPath}/resources/js/jquery.min.js"></script>
    <script src="/UcConfig/uca/GlobalParams.js"></script>
   	<script src="${contextPath}/resources/myjs/UCenterCommon.js"></script>
</head>

<body style="background-color:#f9f9fb">

    <div class="">
        <div class="">
            <ol class="breadcrumb lj">
                <li><a><i class="glyphicon glyphicon-home"></i></a></li>
                <li><a><i class="icon-pic"></i>Home</a></li>
                <li>修改密码</li>
            </ol>
        </div>
    </div>

    <div class="">
        <div class="main">

            <div class="panel panel-default panel1">
                <!--错误提示--->
                <div id="errorInfo" class="panel-body1"></div>
                <!--错误提示 end--->

                <div class="panel-body panel-body1">
                    <form action="" method="post" enctype="multipart/form-data" class="form-horizontal">
                        <div class="form-group" style="z-index:9999;">
                            <label class="col-md-3 control-label" for="password-input">&nbsp;&nbsp;&nbsp;用户名</label>
                            <div class="col-md-9">
                                <input type="text" id="userAccount" value="${username}" name="userAccount" class="form-control input-m" readonly="readonly" placeholder="请输入用户名">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">&nbsp;&nbsp;&nbsp;旧密码</label>
                            <div class="col-md-9">
                                <input type="password" id="oldPassword" name="oldPassword" class="form-control input-m" placeholder="请输入旧密码">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">&nbsp;&nbsp;&nbsp;新密码</label>
                            <div class="col-md-9">
                                <input type="password" id="newPassword" name="newPassword" class="form-control input-m" placeholder="请输入新密码">
                            </div>

                            <!---安全--->
                            <div class="mmqr">
                                <div id="mmqrR" class="mmqr-r">&nbsp;</div>
                                <div id="mmqrZ" class="mmqr-z mmqr-normal">&nbsp;</div>
                                <div id="mmqrQ" class="mmqr-q mmqr-normal">&nbsp;</div>
                                <div id="newPasswordTip" class="text-r"></div>
                            </div>
                            <!------>
                        </div>
                        <div class="form-group">
                            <label class="col-md-3 control-label">&nbsp;&nbsp;&nbsp;确认密码</label>
                            <div class="col-md-9">
                                <input type="password" id="checkPassword" name="checkPassword" class="form-control input-m" placeholder="再次输入新密码">
                                <div class="btn-sure"><button type="button" onclick="UCenterCommon.changePassword()" class="btn btn1">确认修改</button></div>
                            </div>
                        </div>
                    </form>
                    
                    <input type="hidden" id="redirectUri" value="${param.redirect_uri}"/>
                    <input type="hidden" id="weekPasswordInfo" value="${error_message}"/>
                    
                </div>
            </div>
        </div>
    </div>
    
<script type="text/javascript">
    (function(){
    	UCenterCommon.init();
    })();
</script>
</body>
</html>